<style type="text/css">
<!--
.list3_pagedown{ width:100%;border:1px solid #eee; text-align:right; height:26px; line-height:26px;  ;margin:10px auto 10px auto;}
.list6_5${portletid}{  height:500px; width:100%; margin-left:20PX;OVERFLOW: auto; }
.list6_5${portletid} li{ display:inline;width:132px;height:120px;border: 1px solid #e8e8e8;  float:left; margin:0 3px 38px 0;}
.list6_5${portletid} li img{
display:block;
max-width: 130px;
max-height:118px;
border:none;
}
-->
</style>
		
 <form method="post" style="margin: 0" action="${contextPath}/cms/article/cmslist?grpid=${artgroupId}" id="list_frm${portletid}" name="list_frm${portletid}">
	<div>
			<#if titletype=="1">
				<div>
					<img src="${titlepic}" style="border:none"/>
				</div>
			<#else>
				<div class="${titlecolor}">
					<span id="list6_5title_${portletid}">
					${title}
					</span>
				</div>
			 </#if>
		<div class="list6_5${portletid}" id="list6_5${portletid}">
		 </div>
		<div class="list3_pagedown">
			<img class="loading"
				src="/resources/skins/default/images/large-loading.gif" width="20px"
				class="hidden loading left" /><span class="pagediv"></span>
		</div>	
	</div>
</form>
 
 
  
<SCRIPT type=text/javascript> 
		$(function(){
		        loadGird("list_frm${portletid}", 1);
		})

		var callback_list_frm${portletid} = function(rows, frm) {
				var aa="<ul>";
		       $.each(rows, function(i, n){		  
			     aa+="<li><div style='height:120px;width:132px;display:table-cell;vertical-align:middle;text-align:center;'><a href='${contextPath}/cms/channel/layout/a,"+n.id+"?isLayout=${isLayout}' target='_blank'><img src='"+n.firtImgrSrc+"' /></a></div><div><a href='${contextPath}/cms/channel/layout/a,"+n.id+"?isLayout=${isLayout}' target='_blank'>"+n.art_name+"</a><div></li>";
		       });   
		       		aa+="</ul>";
					document.getElementById("list6_5${portletid}").innerHTML=aa;
		           
			}
			
			function setvalue_${portletid}(grpId,grpName){
				document.getElementById("list_frm${portletid}").action="${contextPath}/cms/article/cmslist?grpid="+grpId;
				$("#list6_5title_${portletid}").html(grpName);
		        loadGird("list_frm${portletid}", 1);
			}	
</script>